package com.bo.baby2.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;


/**
* @program: baby2_p2p
*
* @description: ${description}
*
* @author:波
*
* @create: 2020-07-13 11:56
**/


/**
 * 用户信息表
 */
@ApiModel(value = "用户信息表")
public class TUserInfo implements Serializable {
    /**
     * 账户id
     */
    @ApiModelProperty(value = "账户id")
    private String accountId;

    /**
     * 肖像图片
     */
    @ApiModelProperty(value = "肖像图片")
    private String avatar;

    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名")
    private String realname;

    /**
     * 身份证号码
     */
    @ApiModelProperty(value = "身份证号码")
    private String idCardNumber;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    private String phoneNumber;

    /**
     * 收入等级id
     */
    @ApiModelProperty(value = "收入等级id")
    private Integer incomeLevelId;

    /**
     * 婚姻状况id
     */
    @ApiModelProperty(value = "婚姻状况id")
    private Integer marriageId;

    /**
     * 教育背景id
     */
    @ApiModelProperty(value = "教育背景id")
    private Integer eduBackgroundId;

    /**
     * 住房情况id
     */
    @ApiModelProperty(value = "住房情况id")
    private Integer houseConditionId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     * 注册时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime registeredTime;

    public LocalDateTime getRegisteredTime() {
        return registeredTime;
    }

    public void setRegisteredTime(LocalDateTime registeredTime) {
        this.registeredTime = registeredTime;
    }

    private static final long serialVersionUID = 1L;

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getIdCardNumber() {
        return idCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) {
        this.idCardNumber = idCardNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Integer getIncomeLevelId() {
        return incomeLevelId;
    }

    public void setIncomeLevelId(Integer incomeLevelId) {
        this.incomeLevelId = incomeLevelId;
    }

    public Integer getMarriageId() {
        return marriageId;
    }

    public void setMarriageId(Integer marriageId) {
        this.marriageId = marriageId;
    }

    public Integer getEduBackgroundId() {
        return eduBackgroundId;
    }

    public void setEduBackgroundId(Integer eduBackgroundId) {
        this.eduBackgroundId = eduBackgroundId;
    }

    public Integer getHouseConditionId() {
        return houseConditionId;
    }

    public void setHouseConditionId(Integer houseConditionId) {
        this.houseConditionId = houseConditionId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", accountId=").append(accountId);
        sb.append(", avatar=").append(avatar);
        sb.append(", realname=").append(realname);
        sb.append(", idCardNumber=").append(idCardNumber);
        sb.append(", phoneNumber=").append(phoneNumber);
        sb.append(", incomeLevelId=").append(incomeLevelId);
        sb.append(", marriageId=").append(marriageId);
        sb.append(", eduBackgroundId=").append(eduBackgroundId);
        sb.append(", houseConditionId=").append(houseConditionId);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}
